package com.tuda.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tuda.common.annotation.Excel;
import com.tuda.common.core.domain.BaseEntity;

/**
 * 运单操作记录对象 tuda_order_record
 * 
 * @author tuda
 * @date 2023-10-12
 */
public class TudaOrderRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long orderId;

    /** 收入明细 */
    @Excel(name = "收入明细")
    private String incomeDetails;

    /** 收入金额 */
    @Excel(name = "收入金额")
    private BigDecimal incomeAmount;

    /** 支出明细 */
    @Excel(name = "支出明细")
    private String expenditureDetails;

    /** 支出金额 */
    @Excel(name = "支出金额")
    private BigDecimal expenditureAmount;

    private BigDecimal sumIncomeAmount;

    private BigDecimal sumExpenditureAmount;

    private Boolean isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setIncomeDetails(String incomeDetails) 
    {
        this.incomeDetails = incomeDetails;
    }

    public String getIncomeDetails() 
    {
        return incomeDetails;
    }

    public BigDecimal getIncomeAmount() {
        return incomeAmount;
    }

    public void setIncomeAmount(BigDecimal incomeAmount) {
        this.incomeAmount = incomeAmount;
    }

    public void setExpenditureDetails(String expenditureDetails)
    {
        this.expenditureDetails = expenditureDetails;
    }

    public String getExpenditureDetails() 
    {
        return expenditureDetails;
    }
    public void setExpenditureAmount(BigDecimal expenditureAmount) 
    {
        this.expenditureAmount = expenditureAmount;
    }

    public BigDecimal getExpenditureAmount() 
    {
        return expenditureAmount;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public BigDecimal getSumIncomeAmount() {
        return sumIncomeAmount;
    }

    public void setSumIncomeAmount(BigDecimal sumIncomeAmount) {
        this.sumIncomeAmount = sumIncomeAmount;
    }

    public BigDecimal getSumExpenditureAmount() {
        return sumExpenditureAmount;
    }

    public void setSumExpenditureAmount(BigDecimal sumExpenditureAmount) {
        this.sumExpenditureAmount = sumExpenditureAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("incomeDetails", getIncomeDetails())
            .append("incomeAmount", getIncomeAmount())
            .append("expenditureDetails", getExpenditureDetails())
            .append("expenditureAmount", getExpenditureAmount())
            .append("createTime", getCreateTime())
            .toString();
    }
}
